#ifndef CFAMILIAR_H

#define CFAMILIAR_H

#include "CUnit.h"

class CFamiliar : public CUnit
{
public :
					CFamiliar(void);
					CFamiliar(int _nUnitNumber, ls_Unit *_Enumys, SUnitAbility const &_Ability, int _nX, int _nY, CBuilding* _pEnumyBuildng);
					~CFamiliar(void);
			int		GetX(void);
			int		GetGold(void);

			bool	Hit(int _nDamage, int _nUnitType);

private :
			void	Move(void);
			void	SearchEnumy(void);
			void	Attack(void);
			void	BuildingAttack(void);

			bool	SearchBuilding(void);
};

#endif